package com.faneui.transfer.gateway.model;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class OutputArrayBean<T> extends OutputBean {
	@ApiModelProperty(value = "返回数组数据", required = true)
	protected List<T> data;

	public OutputArrayBean(int code, String msg) {
		super(code, msg);
	}

	public OutputArrayBean(int code, String msg, List<T> data) {
		super(code, msg);
		this.data = data;
	}

	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "OutputArrayBean [data=" + data + ", msg=" + msg + ", code=" + code + ", timestamp=" + timestamp + "]";
	}

}
